﻿<%@ Page Language="C#" MasterPageFile="~/Custom.Master" AutoEventWireup="true"
    CodeBehind="GoodsOrder.aspx.cs" Inherits="Things.ThingsWeb.GoodsOrders.GoodsOrder" %>

<%@ Register Src="../Components/BuyerAddress.ascx" TagName="BuyerAddress" TagPrefix="uc1" %>
<%@ Register Src="../Components/GoodsCart.ascx" TagName="GoodsCart" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<script language="javascript" type="text/javascript">

    var flag = 0;
    function fnImageClick(obj) {
        if (flag == 0) {
            flag = 1;
            $('#divFaPiao').show();
            $(obj).find('img').attr("src", "../Style/images/arraw-2.jpg");
        }
        else {
            flag = 0;
            $('#divFaPiao').hide();
            $(obj).find('img').attr("src", "../Style/images/arraw1.jpg");
        }
    }
</script>

    <table width="716" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <table width="973" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <img src="~/style/images/yj1.jpg" width="972" height="15" runat="server" />
            </td>
        </tr>
    </table>
    <table width="972" height="349" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10" align="center" valign="top" bgcolor="#FFFFFF">
                <table width="972" height="35" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="19">
                            &nbsp;
                        </td>
                        <td width="826" align="left" class="tdl">
                            收货地址
                        </td>
                        <td width="127">
                            
                        </td>
                    </tr>
                </table>
                <table width="970" height="150" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="20" height="107">
                            &nbsp;
                        </td>
                        <td width="952" align="left">
                            <label for="textarea">
                            </label>
                            <uc1:BuyerAddress ID="BuyerAddress1" runat="server" />
                        </td>
                    </tr>
                </table>
                 

                <table width="971" height="43" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="19">
                            &nbsp;
                        </td>
                        <td width="826" align="left" class="tdl">
                           <a id="aFaPiao"  onclick="fnImageClick(this)" style="cursor:pointer" > 发票信息 &nbsp;<img id="imgFaPiao"alt="" src="../Style/images/arraw1.jpg" /> </a>
                        </td>
                        <td width="127">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <div id="divFaPiao" style="display:none;">
                <table width="970" height="37" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            发票类型：
                        </td>
                        <td align="left">
                            <asp:RadioButtonList ID="rblFaPiaoLeiXing" runat="server" 
                                RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">普通发票</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            发票抬头：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtFaPiaoTaiTou" runat="server" MaxLength="100" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            发票内容：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtFaPiaoNeiRong" runat="server" MaxLength="100" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                </div>
                <table width="971" height="43" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="19">
                            &nbsp;
                        </td>
                        <td width="826" align="left" class="tdl">
                            确认订单信息
                        </td>
                        <td width="127">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <table width="970" height="37" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <uc2:GoodsCart ID="GoodsCart1" runat="server" />
                        </td>
                    </tr>
                </table>
                <table width="970" height="49" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="784" align="left">
                            <asp:LinkButton ID="LinkButton3" runat="server" PostBackUrl="~/Default.aspx"><img id="Img1" src="~/Style/images/jche.jpg" width="80" height="36"  border="0" runat="server" /></asp:LinkButton>
                        </td>
                        <td align="center">
                            <asp:ImageButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" ImageUrl="~/Style/images/tjdd.jpg">
                            </asp:ImageButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hfHasSubmitted" runat="server" />


</asp:Content>
